import { defineStore } from 'pinia';

/**
 * 获取后端的枚举数据
 */
export const useEnumList = defineStore('enumList', {
	state: (): EnumsState => ({
		enumList:[]
	}),
	actions: {
		async setRoutesList(data: any[]) {
			this.enumList = data;
		}
	},
});
